#ifndef __VPEMX_HEADER__
#define __VPEMX_HEADER__
#include   "vpe.h"
#include   "vplmx.h"

mxArray * 
vpemxCreatePmxa3DrsBkinfo(U16 width, U16 height);

int
vpemxGet3DrsBkinfoFromPmxa(const mxArray * pmxaBkinfo,
                           T_3DRS_BKINFO * p3DrsBkinfo );

int
vpemxGet3DrsRsltFromPmxa(const mxArray * pmxaRslt, 
						 T_3DRS_RESULT * pRslt   );

mxArray *
vpemxCreatePmxa3DrsRslt(U16  width,
                        U16  height);


int
vpemxConvPmxaTo3DrsRslt(mxArray * pmxaRslt, T_3DRS_RESULT * p3Drs);

mxArray * 
mexwrap3DRSMe (
    const mxArray *  pmxaPic0,   
    const mxArray *  pmxaVfmt0, 
    const mxArray *  pmxaIfmt0, 
    const mxArray *  pmxaPic1,   
    const mxArray *  pmxaVfmt1, 
    const mxArray *  pmxaIfmt1, 
	const mxArray *  pmxaGmeRslt,
	const mxArray *  pmxaLrRslt,
    const mxArray *  pmxaPreRslt,
    const mxArray *  pmxaPrmFName );

#endif
